package com.zy.ems.common.error;

import com.zy.ems.common.exception.ErrorStatus;

/**
 * 
 * @ClassName: RecommendError
 * @Description: 推荐模块错误码，5000开始
 * @author zhupengren
 * @date 2014年9月29日 下午4:13:05
 *
 */
public class RecommendCode extends ErrorStatus {

    /**
     * 5001 无推荐商品
     */
    public static final ErrorStatus recommend_001 = new RecommendCode(5001,
            "无推荐商品");

    /**
     * 5002 无推荐品牌
     */
    public static final ErrorStatus recommend_002 = new RecommendCode(5002,
            "无推荐品牌");

    /**
     * 5003 无推荐品类
     */
    public static final ErrorStatus recommend_003 = new RecommendCode(5003,
            "无推荐品类");

    /**
     * 5004 获取商品品类失败
     */
    public static final ErrorStatus recommend_004 = new RecommendCode(5004,
            "获取商品品类失败");

    protected RecommendCode(int code, String codeMsg) {
        super(code, codeMsg);
    }

    @Override
    public int getModuleCode() {
        return 5000;
    }

}
